<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
 *  remove Item with key out of arr
 */
function array_remove_item($arrs, $index)
{
	if($arrs == null)
		return null;
	$result = array();
	foreach($arrs as $key=>$value)
	{
		if($key!= $index)
		{
			$result[$key]= $value;
		}
	}
	return $result;
}
/* End of file MY_text_helper.php */
/* Location: ./application/helpers/MY_text_helper.php */